package qtdz9;

import javax.swing.*;

public class ObserveSubmarine extends SeaObject implements EnemyScore{
    public ObserveSubmarine() {
        super(63, 19);
    }

    public void move() {
        setX(getX() + getSpeed());
    }

    public ImageIcon getImage() {
        return Images.obsersubm;
    }

    //重写getScore()得分
    public int getScore() {
        return 10;//打掉侦察潜艇,得10分
    }
}
